package com.atguigu.self.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.self.common.utils.PageUtils;
import com.atguigu.self.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * @author lixinyang
 * @email lixinyang@gmail.com
 * @date 2021-02-06 21:34:52
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据采购单id获取采购项
     *
     * @param purchaseId
     * @return
     */
    List<PurchaseDetailEntity> listDetailByPurchaseId(Long purchaseId);
}

